home *** CD-ROM | disk | FTP | other *** search
- Path: 140.174.164.192!eric
- From: eric@goonsquad.spies.com (Eric Smith)
- Newsgroups: comp.sys.m68k
- Subject: Re: Spurious Interupts on 68360
- Date: 16 Mar 1996 02:23:34 GMT
- Organization: Internet Wiretap
- Distribution: world
- Message-ID: <ERIC.96Mar15182334@goonsquad.spies.com>
- References: <4ia48q$lnj@python.microcom.com>
- NNTP-Posting-Host: goonsquad.spies.com
- To: spellman@microcom.com
- In-reply-to: spellman@microcom.com's message of 14 Mar 1996 21:49:14 GMT
-
- In article <4ia48q$lnj@python.microcom.com> spellman@microcom.com (Roger Spellman) writes:
- > We're getting spurious Interupts on our 68360. As far as I can tell from the
- > manual, this is not caused by anything in my code, but rather by something
- > going wrong inside the 68360. Is this correct?
-
- When I was developing the device drivers for the NetBlazer LS, I found that
- I would get these spurious interrupts if I cleared SCC event flags at
- non-interrupt time (but with interrupts disabled). I changed my code so
- that I only clear the event flags in the interrupt handler, and the
- spurious interrupts went away.
-
- The problem occurs because the SCC has already requested an interrupt. If you
- clear the event before the interrupt is handled, the interrupt will still
- occur but the interrupt controller can't figure out what vector to use.
-
- There may be other ways to cause spurious interrupts, but this was the
- most obvious one.
-
- Cheers,
- Eric
-